package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.GoodStyle;
import cn.wolfcode.trip.base.domain.Goods;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface IGoodsService {
    PageInfo<Goods> query(QueryObject qo);

    void saveOrUpdate(Goods entity);

    Goods get(Long goodsId);
    /**
     * 查询所有启用的商品
     * @return
    List<Goods> list(Long strategyId);*/
}
